<!DOCTYPE html>
<html >
<head>
	<meta charset="UTF-8">
	<title>blog</title>
	<link href="<?php echo base_url();?>public/css/bootstrap.min.css" rel="stylesheet">
	<link href="<?php echo base_url();?>public/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css">
  <link rel="stylesheet" type="text/css" href="<?php echo base_url();?>public/style/style.css">
</head>
<body>
	<div class="container">
		<div class="row">
			<div class="col-md-6 col-md-offset-3">
				<div class="panel panel-primary" style="margin-top:150px;">
					<div class="panel-heading"><label>博客登录</label></div>
					<div class="panel-body">
					    <form class="form-horizontal" action="" method="post">
							<div class="form-group">
							<label class="col-sm-2 control-label">用户名：</label>
								<div class="col-sm-10">
									<input type="text"　 class="form-control" name="username" value="<?php echo set_value('username')?>" placeholder="请输入用户名" />
									<?php echo form_error('username'); ?>
								</div>
							</div>
							<div class="form-group">
							<label class="col-sm-2 control-label">密码：</label>
								<div class="col-sm-10">
									<input type="password"　 class="form-control" name="password" value="<?php echo set_value('password')?>" placeholder="请输入密码" />
									<?php echo form_error('password'); ?>
								</div>
							</div>	
							<button type="submit" class="btn btn-block btn-primary">提交</button>	
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>